Enum STPPortState

java.lang.Object
java.lang.Enum<STPPortState>
com.cisco.pt.ipc.enums.STPPortState
All Implemented Interfaces:
Serializable, Comparable<STPPortState>, Constable

public enum STPPortState extends Enum<STPPortState>
An enum for the IPC's STPPortState values
Author:
packettracerexapps@external.cisco.com
  • Enum Constant Details

    • STP_DISABLED

      public static final STPPortState STP_DISABLED
    • STP_BLOCKING

      public static final STPPortState STP_BLOCKING
    • STP_LISTENING

      public static final STPPortState STP_LISTENING
    • STP_LEARNING

      public static final STPPortState STP_LEARNING
    • STP_FORWARDING

      public static final STPPortState STP_FORWARDING
    • STP_INCONSISTENT

      public static final STPPortState STP_INCONSISTENT
    • STP_ERROR_DISABLED

      public static final STPPortState STP_ERROR_DISABLED
  • Field Details

    • intValue

      protected int intValue
  • Method Details

    • values

      public static STPPortState[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static STPPortState valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • getIntValue

      public int getIntValue()
    • fromIntValue

      public static STPPortState fromIntValue(int value)
    • fromIntValue

      public static STPPortState fromIntValue(Integer value)